package com.echo.blog.business.sys.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.echo.blog.business.sys.model.SysUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author chentl123
 * @since 2019-05-28
 */
public interface SysUserMapper extends BaseMapper<SysUser> {
    /**
     * 根据id 获取用户
     *
     * @param userId
     * @return
     */
    SysUser getUserById(@Param("userId") Integer userId);
}
